SftTree/OCX 7.0

SftPictureObject.Appearance Property

Softel vdm, Inc.

Defines the image object using a built-in, special purpose image.

Syntax       

Get

VB.NET

Style = object.Appearance  As SftPictureImageConstants

VB

Style = object.Appearance  As SftPictureImageConstants

C#.NET

SftPictureImageConstants Style = object.Appearance;

VC++

enum SftPictureImageConstants Style = object->Appearance;
enum SftPictureImageConstants Style = object->GetAppearance();

C

HRESULT object->get_Appearance(enum SftPictureImageConstants* Style);

Delphi

Style := object.Appearance  : TOleEnum;

Put

VB.NET

object.Appearance = Style  As SftPictureImageConstants

VB

object.Appearance = Style  As SftPictureImageConstants

C#.NET

SftPictureImageConstants object.Appearance = Style;

VC++

enum SftPictureImageConstants object->Appearance = Style;
void object->PutAppearance(enum SftPictureImageConstants Style);

C

HRESULT object->put_Appearance(enum SftPictureImageConstants Style);

Delphi

object.Appearance := Style  : TOleEnum;

object

A SftPictureObject object.

Style

Defines the image object using a built-in, special purpose image.

Name

Value

Description

sftImageNone

-1

None

sftImageCheckboxNo

0

Checkbox - No

sftImageCheckboxYes

1

Checkbox - Yes

sftImageCheckboxUnknown

2

Checkbox - Unknown

sftImageCheckboxNoDisabled

3

Checkbox - No, Disabled

sftImageCheckboxYesDisabled

4

Checkbox - Yes, Disabled

sftImageCheckboxUnknownDisabled

5

Checkbox - Unknown, Disabled

sftImageRadioButtonNo

6

RadioButton - No

sftImageRadioButtonYes

7

RadioButton - Yes

sftImageRadioButtonNoDisabled

8

RadioButton - No, Disabled

sftImageRadioButtonYesDisabled

9

RadioButton - Yes, Disabled

sftImageUp

10

Up

sftImageUpDisabled

11

Up, Disabled

sftImageDown

12

Down

sftImageDownDisabled

13

Down, Disabled

sftImageSortAsc

14

Sort Ascending

sftImageSortAscDisabled

15

Sort Ascending, Disabled

sftImageSortDesc

16

Sort Descending

sftImageSortDescDisabled

17

Sort Descending, Disabled

Comments

The Appearance property defines the image object using a built-in, special purpose image.

The SftPictureObject.Type property is set to sftTypeBuiltin.  

The SftPictureObject.Height and SftPictureObject.Width properties should be used to define the requested image size.  The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image dimensions.

See Also  SftPictureObject Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com